package com.two.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Cookstyle {
    @TableId(value = "cid",type = IdType.AUTO)
    private Integer cid;
    private String style;

    @TableField(exist = false)
    private List<Restaurant> restaurant;
}
